package com.ling.dao;

import com.ling.bean.UserUpvoteBlog;
import com.ling.bean.UserUpvoteBlogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserUpvoteBlogMapper {
    long countByExample(UserUpvoteBlogExample example);

    int deleteByExample(UserUpvoteBlogExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserUpvoteBlog record);

    int insertSelective(UserUpvoteBlog record);

    List<UserUpvoteBlog> selectByExample(UserUpvoteBlogExample example);

    UserUpvoteBlog selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserUpvoteBlog record, @Param("example") UserUpvoteBlogExample example);

    int updateByExample(@Param("record") UserUpvoteBlog record, @Param("example") UserUpvoteBlogExample example);

    int updateByPrimaryKeySelective(UserUpvoteBlog record);

    int updateByPrimaryKey(UserUpvoteBlog record);
}